import { Base } from '../utils/base.js';
class User extends Base {
    constructor() {
        super();
    }
	getcityarea(callback, params) {
	    var that = this;
	    var param = {
	        url: '/api/talent/getcityarea',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	sendcode(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.Integral/send_sms',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	getRecordlist(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.promotion/recordlist',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	getPromotion(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.promotion/index',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	indexNum(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.Integral/index_num',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	getCode(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.Integralgoods/getcode',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	upUserinfo(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.Login/up_userinfo',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	getOpenID(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.Login/getopenid',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	getCode(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Login/get_gzh_set',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
    checkBind(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Login/checkBind',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
	checknote(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.integral/curriculum_vitae',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
    Updateuser(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Sysinit/updateUser',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
    getPhone(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Sysinit/getPhone',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
    Updateusertel(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Sysinit/updateUsertel',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
    myLookNote(callback, params) {
        var that = this;
        var param = {
            url: 'addons/zpwxsys/v1.Note/myLookNote',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
	getuserid(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.integral/getuserid',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	getnotedetail(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.integral/notedetail',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
}
export { User };
